export interface RouteParams {
  [key: string]: string
}

export interface MockEndpoint {
  GET?: (url: string, params?: RouteParams, data?: any) => any
  POST?: (url: string, params?: RouteParams, data?: any) => any
  PUT?: (url: string, params?: RouteParams, data?: any) => any
  DELETE?: (url: string, params?: RouteParams, data?: any) => any
}

export interface ExecutionRecord {
  id: string
  startTime: string
  endTime?: string
  duration: number
  status: 'success' | 'error' | 'running'
  output: string
} 